package com.class06.ioc02;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

@Controller
public class ZooController {
    @Autowired
    private Dogs dogs;
    @Autowired
    private Cats cats;

    public void show(){
        System.out.println(dogs);
        System.out.println(cats);
    }
}
